<?php
session_start();
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="layout.css" />
<title>Edit Account</title>
</head>

<body>
<div id="container">
<div id="logo"><img src="images/logo.png" alt="Logo" height="117" width="619" /></div>
<div id="nav">
<ul>
        <li><a href="index.php">Home</a></li>
        <li><a href="products.php">Products</a></li>
        <li><a href="contact.php">Contact Me</a></li>
</ul>
</div>
<div id="content">
<h2>Edit Your Account</h2>
<a href="changepassword.php">Change Password</a><br><br>
<a href="editaddress.php">Edit Address</a><br><br>
<a href="editcontact.php">Edit Contact Info</a><br><br>
<a href="editcreditcard.php">Edit Credit Card Info</a><br><br><br><br>
</div>
<p>
<?php
if(isset($_SESSION['username'])){
	echo "Welcome, ".$_SESSION['username']."!<br><form action='logout.php' method='POST'><br><input type='submit' value='Log Out'><br>
</form></p><p>";
}
else
	echo("You must be logged in!");
?>

<div id="footer"><i>Copyright &copy; 2012 E-commerce site</i><br />
<a href="mailto:npratt3284@gmail.com">npratt3284@gmail.com</a></div>

</div>

</body>
</html>